﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Gueei.Gallery.Core.Entities;

namespace Gueei.Gallery.Core.Repositories
{
	public interface IAlbumRepository
	{
		bool AlbumExists(Guid id);
		Album GetAlbumById(Guid id);
		IQueryable<Album> GetAlbumsByImageId(Guid id);
		IQueryable<Album> GetAlbumsByName(string name);
		IQueryable<Album> GetAllAlbums();
		Album CreateAlbum(string name, ISet<Image> images, ISet<Tag> tags);
		Album SaveAlbum(Album album);
	}
}
